package io;

import java.io.FileInputStream;
import java.io.InputStream;

public class TestInput {

	public static void main(String[] args) throws Exception{
		InputStream in=null;
		in=new FileInputStream("john.data");
//		int m=in.read();
//		m=in.read();
//		in.skip(1);
//		System.out.println((char)m);
		byte[] buf=new byte[2];
		int m=in.read(buf);
		m=in.read(buf);
		System.out.println(m);
		System.out.println(buf[0]);
		System.out.println(buf[1]);
		
		
		in.close();

	}

}
